package com.example.design.factory.jd.impl;

import com.example.design.ServiceException;
import com.example.design.factory.AccessShopDO;
import com.example.design.factory.CommonOauthTokenDO;
import com.example.design.factory.ThirdPlatformEnum;
import com.example.design.factory.jd.JdOauthService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.net.URLEncoder;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author shishaopeng
 */
@Service
public class JdOauthServiceImpl implements JdOauthService {


    @Override
    public ThirdPlatformEnum platform() {
        return null;
    }

    @Override
    public String appKey() {
        return null;
    }

    @Override
    public String login(Long shopId) {
        return null;
    }

    @Override
    public void callback(String state, String code) {

    }

    @Override
    public void callbackV2(String state, String code) {

    }

    @Override
    public void refresh(CommonOauthTokenDO record) {

    }

    @Override
    public void refreshV2(AccessShopDO record) {

    }

    @Override
    public String getAccessToken(String appKey) {
        return null;
    }
}
